{template 'tpl_header'}

<div class="weui-tab">
    <div class="weui-tab__panel" style="padding-bottom: 10px;">
        <div class="weui-my-center">
            <div class="weui-my-center__center">
                <img class="weui-my-center__radius"
                     src="{$member['avatar']}" alt="">
                <h4 class="weui-media-box__title weui-my-center__user__name" style="">{$member['nick_name']}</h4>
            </div>
        </div>
    </div>
    <div class="page__bd">
        <div class="weui-panel" style="margin-top: 0px;">
            <div class="weui-panel__hd"><h4 class="weui-media-box__title" style="color: #595757;">我的订单</h4></div>
            <div class="weui-panel__bd">
                <div style="display: flex;width: 100%;">
                    <a href="{php echo url('entry', array('m' => 'vj_bontrip','do' => 'order','op' => 'list','type' => 'single'),true);}" class="weui-tabbar__item2">
                        <div class="weui-tabbar__icon2">
                            <i class="iconfont icon-menpiao"></i>
                        </div>
                        <p class="weui-tabbar__label2">单品</p>
                        {if !empty($single_order_count) }
                        <div class="weui-tabbar__count">
                            {$single_order_count}
                        </div>
                        {/if}
                    </a>
                    <a href="{php echo url('entry', array('m' => 'vj_bontrip','do' => 'order','op' => 'list','type' => 'oneday'),true);}" class="weui-tabbar__item2">
                        <div class="weui-tabbar__icon2">
                            <i class="iconfont icon-05"></i>
                        </div>
                        <p class="weui-tabbar__label2">一日游</p>
                        {if !empty($oneday_order_count) }
                        <div class="weui-tabbar__count">
                            {$oneday_order_count}
                        </div>
                        {/if}
                    </a>
                    <a href="{php echo url('entry', array('m' => 'vj_bontrip','do' => 'order','op' => 'list','type' => 'quality'),true);}" class="weui-tabbar__item2">
                        <div class="weui-tabbar__icon2">
                            <i class="iconfont icon-iconset0219"></i>
                        </div>
                        <p class="weui-tabbar__label2">精品游</p>
                        {if !empty($quality_order_count) }
                        <div class="weui-tabbar__count">
                            {$quality_order_count}
                        </div>
                        {/if}
                    </a>
                    <a href="{php echo url('entry', array('m' => 'vj_bontrip','do' => 'order','op' => 'list','type' => 'insurance'),true);}" class="weui-tabbar__item2">
                        <div class="weui-tabbar__icon2">
                            <i class="iconfont icon-fenfabaoxian"></i>
                        </div>
                        <p class="weui-tabbar__label2">保险</p>
                        {if !empty($insurance_order_count) }
                        <div class="weui-tabbar__count">
                            {$insurance_order_count}
                        </div>
                        {/if}
                    </a>

                </div>
            </div>
        </div>

        <div class="weui-panel weui-panel_access">
            <div class="weui-cells" style="margin-top: 0;font-size: 14px;">
                <a class="weui-cell weui-cell_access" href="{php echo url('entry', array('m' => 'vj_bontrip','do' => 'me','op' => 'detail'),true); }">
                    <div class="weui-cell__bd">
                        <div class="weui-cell__hd"><label class="weui-label">个人资料</label></div>
                    </div>
                    <div class="weui-cell__ft">
                    </div>
                </a>
            </div>
        </div>
        <div class="weui-tabbar">
            <a href="{php echo $this->createMobileUrl('list'); }" class="weui-tabbar__item">
                <div class="weui-tabbar__icon">
                    <i class="iconfont icon-zhixing"></i>
                </div>
                <p class="weui-tabbar__label">知行</p>
            </a>
            <a href="{php echo $this->createMobileUrl('line'); }" class="weui-tabbar__item">
                <div class="weui-tabbar__icon">
                    <i class="iconfont icon-xianlu"></i>
                </div>
                <p class="weui-tabbar__label">线路</p>
            </a>
            <a href="{php echo $this->createMobileUrl('insurance'); }" class="weui-tabbar__item">
                <div class="weui-tabbar__icon">
                    <i class="iconfont icon-baoxianxiaoshou1"></i>
                </div>
                <p class="weui-tabbar__label">保险</p>
            </a>
            <a href="javascript:;" class="weui-tabbar__item weui-bar__item--on">
                <div class="weui-tabbar__icon">
                    <i class="iconfont icon-account"></i>
                </div>
                <p class="weui-tabbar__label">我</p>
            </a>
        </div>
    </div>
</div>

{template 'tpl_footer'}